package com.vf.admin.miaodong.service;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppRoomLaHei;

import java.util.List;
import java.util.Map;

/**
 * @author anxiang
 * @version 1.0.0
 * @ClassName AfterRoomLaHeiService.java
 * @Description 房间拉黑
 * @createTime 2021年07月28日 18:07:00
 */
public interface AfterRoomLaHeiService {

    /**
     * 新增/修改
     * @param appRoomLaHei
     */
    public void saveOrUpdate(AppRoomLaHei appRoomLaHei);

    /**
     * 综合查询
     */
    public List<AppRoomLaHei> findList(Map<String, Object> paramap, SplitPageBean splitPageBean);

    /**
     * 根据房间ID和用户ID查询拉黑名单信息
     * @param roomid
     * @param userid
     * @return
     */
    public AppRoomLaHei getByRoomidAndUserid(Integer roomid, Integer userid);

    /**
     * 删除
     * @param id
     */
    public void delete(Integer id);

}